<#include "../common/_layout.html" />
<@head title="添加">
<style type="text/css">
	.cll {
		background-color: #ddd;
	}
</style>
</@head>
<@layout menu='/activiti/model'>

<section class="content">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<form action="${ctx}/activiti/model/save" method="post" role="form">
					<legend>添加/修改信息</legend>
					<div class="form-group">
						<label class="col-md-3 control-label" >模型名称</label>
						<div class="col-md-9">
							<input type="text"  name="name" class="form-control" value="${name!}" <#if nameMsg??>autofocus="autofocus"  </#if>>
							<small class="help-block" <#if !nameMsg??>style="display:none" </#if>><#if nameMsg??>${nameMsg!}</#if></small>
						</div>
					</div>
					<div class="form-group">
						<label class="col-md-3 control-label" >模型唯一标识</label>
						<div class="col-md-9">
							<input type="text"  name="key" class="form-control" value="${key!}" <#if keyMsg??>autofocus="autofocus"  </#if>>
							<small class="help-block"  <#if !keyMsg??>style="display:none" </#if>><#if keyMsg??>${keyMsg!}</#if></small>
						</div>
					</div>
					<button type="submit" class="btn btn-primary">保存</button><button type="submit" class="btn btn-cancle" onclick="javascript :history.back(-1);">返回</button>
				</form>
			</div>
		</div>
	</div>
</section>
</@layout>
<@scripts>
<script type="text/javascript">
	$(document).ready(function(){


	});
</script>
</@scripts>